
// 获取token
const getToken = () => {
      return localStorage.getItem('token') 
}

// 删除token
const removeToken = () => {
     localStorage.removeItem('token')
}

// 存储token
const setToken = (token) => {  
    localStorage.setItem('token', token)
}

export {
    getToken,
    removeToken,
    setToken
}